<project name="Tree" version="1"><notes></notes><thumbnail></thumbnail><stage costume="0" threadsafe="false" id="0"><pentrails></pentrails><variables></variables><costumes><list id="2"></list></costumes><sounds><list id="3"></list></sounds><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" x="-7.958078640513122e-13" y="-151.99999999999943" heading="0" scale="1" rotation="1" draggable="true" costume="0" color="16.999999999999993,0,5.999999999999991" id="7"><variables></variables><costumes><list id="9"></list></costumes><sounds><list id="10"></list></sounds><blocks></blocks><scripts><script x="25" y="25"><block s="receiveGo"></block><block s="clear"></block><block s="up"></block><block s="gotoXY"><l>0</l><l>-150</l></block><block s="show"></block><block s="doSetVar"><l>levels</l><l>3</l></block><block s="doSetVar"><l>old levels</l><block var="levels"/></block><block s="down"></block><block s="setColor"><color>44.625,25.248355263157897,0,1</color></block><block s="doSetVar"><l>branches</l><block s="reportNewList"><list></list></block></block><block s="setHeading"><l>0</l></block><custom-block s="tree %n %n"><l>100</l><block var="levels"/></custom-block><block s="doForever"><script><block s="doIf"><block s="reportNot"><block s="reportOr"><block s="reportEquals"><block var="levels"/><block var="old levels"/></block><block s="reportMouseDown"></block></block></block><script><block s="doSetVar"><l>old levels</l><block var="levels"/></block><block s="clear"></block><block s="doIfElse"><block s="reportGreaterThan"><block var="levels"/><l>6</l></block><script><block s="hide"></block><block s="doWarp"><script><custom-block s="tree %n %n"><l>100</l><block var="levels"/></custom-block></script></block><block s="show"></block></script><script><custom-block s="tree %n %n"><l>100</l><block var="levels"/></custom-block></script></block></script></block><block s="doIf"><block s="reportAnd"><block s="reportMouseDown"></block><block s="reportAnd"><block s="reportLessThan"><block s="reportMonadic"><l>abs</l><block s="reportMouseX"></block></block><l>10</l></block><block s="reportLessThan"><block s="reportMouseY"></block><l>-47</l></block></block></block><script><block s="doBroadcastAndWait"><l>mouse</l></block><custom-block s="tree %n %n"><l>100</l><block var="levels"/></custom-block></script></block></script></block></script></scripts></sprite><sprite name="Sprite2" x="-0.7228598307092398" y="-34.92290681373626" heading="355" scale="1" rotation="1" draggable="true" costume="1" color="132.59999999999997,165.75,0" id="107"><variables></variables><costumes><list id="109"><item><costume name="line.gif" center-x="3" center-y="0.5" image="" id="110"/></item></list></costumes><sounds><list id="111"></list></sounds><blocks></blocks><scripts><script x="20" y="20"><block s="receiveGo"></block><block s="hide"></block></script><script x="20" y="91"><block s="receiveMessage"><l>mouse</l></block><block s="doDeclareVariables"><list><l>dist</l><l>ang</l></list></block><block s="gotoXY"><l>0</l><custom-block s="min %n %n"><l>-50</l><block s="reportMouseY"></block></custom-block></block><block s="show"></block><block s="doWaitUntil"><block s="reportGreaterThan"><block s="reportDistanceTo"><l>mouse-pointer</l></block><l>5</l></block></block><block s="doUntil"><block s="reportNot"><block s="reportMouseDown"></block></block><script><block s="doFaceTowards"><l>mouse-pointer</l></block><block s="setScale"><block s="reportQuotient"><block s="reportProduct"><l>100</l><custom-block s="min %n %n"><block s="reportDistanceTo"><l>mouse-pointer</l></block><l>95</l></custom-block></block><l>40</l></block></block><block s="doSetVar"><l>dist</l><custom-block s="min %n %n"><block s="reportDistanceTo"><l>mouse-pointer</l></block><l>95</l></custom-block></block><block s="doSetVar"><l>ang</l><block s="direction"></block></block></script></block><block s="hide"></block><block s="setScale"><l>100</l></block><block s="doIf"><block s="reportGreaterThan"><block var="dist"/><l>9</l></block><script><block s="doAddToList"><block s="reportNewList"><list><block s="reportSum"><l>150</l><block s="yPosition"></block></block><block var="ang"/><block s="reportQuotient"><block var="dist"/><l>100</l></block></list></block><block var="branches"/></block></script></block></script></scripts></sprite><watcher var="levels" style="slider" min="1" max="10" x="10" y="10" color="243,118,29"/><watcher var="branches" style="normal" x="10" y="48.00000399999999" color="243,118,29" hidden="hidden"/><watcher var="old levels" style="slider" min="1" max="100" x="36" y="24.000001999999995" color="243,118,29" hidden="hidden"/></sprites></stage><blocks><block-definition s="tree %'size' %'depth'" type="command" category="other"><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doDeclareVariables"><list><l>height</l></list></block><block s="setSize"><block s="reportQuotient"><block var="size"/><l>5</l></block></block><block s="setBrightness"><block s="reportDifference"><l>40</l><block s="reportQuotient"><block var="size"/><l>4</l></block></block></block><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block var="depth"/><l>1</l></block><block s="reportGreaterThan"><block var="levels"/><l>3</l></block></block><script><block s="setColor"><color>2,183,0,1</color></block></script></block><block s="forward"><block var="size"/></block><block s="doSetVar"><l>height</l><block var="size"/></block><block s="doIf"><block s="reportGreaterThan"><block var="depth"/><l>1</l></block><script><custom-block s="for each item of %l %cs"><block var="branches"/><script><block s="forward"><block s="reportRound"><block s="reportDifference"><block s="reportQuotient"><block s="reportProduct"><block s="reportListItem"><l>1</l><l/></block><block var="size"/></block><l>100</l></block><block var="height"/></block></block></block><block s="doChangeVar"><l>height</l><block s="reportRound"><block s="reportDifference"><block s="reportQuotient"><block s="reportProduct"><block s="reportListItem"><l>1</l><l/></block><block var="size"/></block><l>100</l></block><block var="height"/></block></block></block><block s="turn"><block s="reportRound"><block s="reportListItem"><l>2</l><l/></block></block></block><custom-block s="tree %n %n"><block s="reportRound"><block s="reportProduct"><block s="reportListItem"><l>3</l><l/></block><block var="size"/></block></block><block s="reportDifference"><block var="depth"/><l>1</l></block></custom-block><block s="turnLeft"><block s="reportRound"><block s="reportListItem"><l>2</l><l/></block></block></block><block s="setSize"><block s="reportQuotient"><block var="size"/><l>5</l></block></block><block s="setColor"><color>16.999999999999993,0,5.999999999999991,1</color></block><block s="setBrightness"><block s="reportDifference"><l>40</l><block s="reportQuotient"><block var="size"/><l>3</l></block></block></block></script></custom-block></script></block><block s="forward"><block s="reportDifference"><l>0</l><block var="height"/></block></block></script></block-definition><block-definition s="for each item of %'data' %'action'" type="command" category="lists"><inputs><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><l>0</l></block><block s="doRepeat"><block s="reportListLength"><block var="data"/></block><script><block s="doChangeVar"><l>index</l><l>1</l></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><block var="index"/><block var="data"/></block></list></block></script></block></script></block-definition><block-definition s="if %'test' then %'yes' else %'no'" type="reporter" category="operators"><inputs><input type="%b"></input><input type="%repRing"></input><input type="%repRing"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="yes"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="no"/><list></list></block></block></script></block></script></block-definition><block-definition s="min %'a' %'b'" type="reporter" category="operators"><inputs><input type="%n">3</input><input type="%n">5</input></inputs><script><block s="doReport"><custom-block s="if %b then %repRing else %repRing"><block s="reportLessThan"><block var="b"/><block var="a"/></block><block s="reifyReporter"><autolambda><block var="b"/></autolambda><list></list></block><block s="reifyReporter"><autolambda><block var="a"/></autolambda><list></list></block></custom-block></block></script></block-definition></blocks><variables><variable name="levels"><l>6</l></variable><variable name="old levels"><l>6</l></variable><variable name="branches"><list id="401"><item><list id="402"><item><l>43</l></item><item><l>340</l></item><item><l>0.95</l></item></list></item><item><list id="403"><item><l>84</l></item><item><l>48</l></item><item><l>0.587962583843564</l></item></list></item><item><list id="404"><item><l>98</l></item><item><l>355</l></item><item><l>0.45177427992306074</l></item></list></item></list></variable></variables></project>